package com.deepocean.entity;

import java.time.LocalDateTime;

public class DenseMediumCycloneInAndOut1Hour {
    // 原煤
    private Double rawCoal;
    // 介质
    private Double dielectric;
    // 矸石
    private Double gangue;
    // 中煤
    private Double mediumCoal;
    // 精煤
    private Double cleanCoal;
    private LocalDateTime beginTime;
    private LocalDateTime endTime;

    public Double getRawCoal() {
        return rawCoal;
    }

    public void setRawCoal(Double rawCoal) {
        this.rawCoal = rawCoal;
    }

    public Double getDielectric() {
        return dielectric;
    }

    public void setDielectric(Double dielectric) {
        this.dielectric = dielectric;
    }

    public Double getGangue() {
        return gangue;
    }

    public void setGangue(Double gangue) {
        this.gangue = gangue;
    }

    public Double getMediumCoal() {
        return mediumCoal;
    }

    public void setMediumCoal(Double mediumCoal) {
        this.mediumCoal = mediumCoal;
    }

    public Double getCleanCoal() {
        return cleanCoal;
    }

    public void setCleanCoal(Double cleanCoal) {
        this.cleanCoal = cleanCoal;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
        this.beginTime = endTime.plusMinutes(-60);
    }
}
